package com.service;/*
 *
 *作者：张继成
 *任务：
 *
 *备注：
 *@Date2023/05/29/21:09
 ***/

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.service.IService;
import com.entity.KechengdingdanEntity;
import com.entity.view.KechengdingdanView;
import com.entity.vo.KechengdingdanVO;
import com.utils.PageUtils;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface KechengdingdanService extends IService<KechengdingdanEntity> {
    //分页工具类
    PageUtils queryPage(Map<String,Object>params);

    //MybatisPlus-条件构造器
    List<KechengdingdanVO> selectListVO(Wrapper<KechengdingdanEntity> wrapper);

    //传递参数，映射到xml文件中，所以需要用@Param标签 进行绑定
    KechengdingdanVO selectVO(@Param("ew") Wrapper<KechengdingdanEntity>wrapper);

    //视图层的列表
    List<KechengdingdanView> selectListView(Wrapper<KechengdingdanEntity> wrapper);

    //在试图层进行操作
    KechengdingdanView selectView(@Param("ew") Wrapper<KechengdingdanEntity>wrapper);

    PageUtils queryPage(Map<String,Object> params,Wrapper<KechengdingdanEntity> wrapper);


    List<Map<String,Object>> selectValue(Map<String,Object> params,Wrapper<KechengdingdanEntity> wrapper);

    List<Map<String, Object>> selectTimeStatValue(Map<String, Object> params,Wrapper<KechengdingdanEntity> wrapper);

    List<Map<String, Object>> selectGroup(Map<String, Object> params,Wrapper<KechengdingdanEntity> wrapper);

}
